/**
 * Created by lighter on 2014/12/20.
 */
package Hxw3DEngine.asset.parsers.bson.vo {
public class TextureBase {
    public var name:String;
    public var embed:Boolean;

    public function TextureBase(obj:Object) {
        name = obj.name;
        embed = obj.embed;
    }

    public static function create(obj:Object):Object{
        return obj.embed?new TextureEmbed(obj):new TextureExtra(obj);
    }
}
}
